<template>
    <div class="w">
        <div class="main">
            <div class="focus">
                <ul>
                    <li>
                        <img src="../upload/focus1.png" alt="">
                    </li>
                    <li>
                        <img src="../upload/focus1.png" alt="">
                    </li>
                    <li>
                        <img src="../upload/focus1.png" alt="">
                    </li>
                    <li>
                        <img src="../upload/focus1.png" alt="">
                    </li>
                    <li>
                        <img src="../upload/focus1.png" alt="">
                    </li>
                </ul>
                <a href="javascript:;" class="prev">&lt;</a>
                <a href="javascript:;" class="next">&gt;</a>
                <ol class="promo-nav">
                </ol>
            </div>
            <div class="newsflash">
                <div class="news">
                    <div class="new_head">
                        <h5>品优购快报</h5>
                        <a href="#" class="more">更多</a>
                    </div>
                    <div class="new_bottom">
                        <ul>
                            <li>
                                <a href="#"><strong>[特惠] 备战开学季 全民半价购数码</strong></a>
                            </li>
                            <li>
                                <a href="#"><strong>[公告] 品优稳占家电网购六成份额</strong></a>
                            </li>
                            <li>
                                <a href="#"><strong>[特惠] 百元中秋全品类礼券限量领</strong></a>
                            </li>
                            <li>
                                <a href="#"><strong>[公告] 上品优生鲜 享澄湖大闸蟹</strong></a>
                            </li>
                            <li>
                                <a href="#"><strong>[特惠] 每日享折扣品优品质游</strong></a>
                            </li>
                        </ul>
                    </div>
                </div>
                <div class="lifeservice">
                    <ul>
                        <li>
                            <i class="pic"></i>
                            <p>话费</p>
                        </li>
                        <li>
                            <i class="pic"></i>
                            <p>机票</p>
                        </li>
                        <li>
                            <i class="pic"></i>
                            <p>电影票</p>
                        </li>
                        <li>
                            <i class="pic"></i>
                            <p>游戏</p>
                        </li>
                        <li>
                            <i class="pic"></i>
                            <p>彩票</p>
                        </li>
                        <li>
                            <i class="pic"></i>
                            <p>加油卡</p>
                        </li>
                        <li>
                            <i class="pic"></i>
                            <p>酒店</p>
                        </li>
                        <li>
                            <i class="pic"></i>
                            <p>火车票</p>
                        </li>
                        <li>
                            <i class="pic"></i>
                            <p>共筹</p>
                        </li>
                        <li>
                            <i class="pic"></i>
                            <p>理财</p>
                        </li>
                        <li>
                            <i class="pic"></i>
                            <p>礼品卡</p>
                        </li>
                        <li>
                            <i class="pic"></i>
                            <p>白条</p>
                        </li>
                    </ul>
                </div>
                <div class="bargin">
                    <img src="../upload/bargain.png" alt="">
                </div>
            </div>
        </div>
    </div>
</template>

<script>
export default {

}
</script>

<style>
.main {
    width: 980px;
    height: 455px;
    margin-left: 220px;
    margin-top: 10px;
}

.focus {
    position: relative;
    float: left;
    width: 721px;
    height: 455px;
    overflow: hidden;
}

.focus ul {
    position: absolute;
    width: 600%;
    top: 0;
    left: 0;
}

.focus ul li {
    float: left;
}

.prev,
.next {
    display: none;
    position: absolute;
    top: 50%;
    margin-top: -15px;
    width: 20px;
    height: 30px;
    background: rgb(0, 0, 0, .7);
    text-align: center;
    line-height: 30px;
    color: #fff;
    text-decoration: none;
    z-index: 3;
}

.prev {
    left: 0;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;

}

.next {
    right: 0;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
}

.promo-nav {
    position: absolute;
    left: 50%;
    margin-left: -35px;
    bottom: 15px;
    width: 70px;
    height: 13px;
    background-color: rgb(255, 255, 255, .5);
    border-radius: 7px;
}

.promo-nav li {
    float: left;
    width: 8px;
    height: 8px;
    background-color: #fff;
    border-radius: 50%;
    margin: 3px;
}

.newsflash {
    float: right;
    width: 250px;
    height: 455px;
}

.news {
    height: 165px;
    border: 1px solid #e4e4e4;
}

.new_head {
    height: 33px;
    line-height: 33px;
    border-bottom: 1px dotted #e4e4e4;
    padding: 0 15px;
}

.new_head h5 {
    float: left;
    font-size: 14px;
}

.more {
    float: right;
}

.new_head .more::after {
    font-family: 'icomoon';
    content: '\e920';
}

.new_bottom {
    padding: 5px 15px 0;
}

.new_bottom ul li {
    height: 24px;
    line-height: 24px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.lifeservice {
    overflow: hidden;
    height: 209px;
    border: 1px solid #e4e4e4;
    border-top: 0;
}

.lifeservice ul {
    width: 252px;
}

.lifeservice ul li {
    float: left;
    width: 63px;
    height: 71px;
    border-right: 1px solid #e4e4e4;
    border-bottom: 1px solid #e4e4e4;
    text-align: center;
}

.pic {
    margin-top: 12px;
    display: inline-block;
    width: 24px;
    height: 28px;
    background-image: url(../images/icons.png);
    background-repeat: no-repeat;
}

.bargin {
    margin-top: 5px;
}
</style>